<!DOCTYPE html>
<html lang="en">

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>高校学生综合素质评分系统</title>

    <!-- Bootstrap Core CSS -->
    <link href="css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <link href="css/admin.css" rel="stylesheet">

    <!-- Custom Fonts -->
    <link href="font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
        <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->

</head>

<body onload="getUserName(),listColleage()">

    <div id="wrapper">

        <!-- Navigation -->
        <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
            <!-- Brand and toggle get grouped for better mobile display -->
            <div class="navbar-header">
                <a class="navbar-brand" href="index-scorePromoter.html">高校学生综合素质评分系统
                </a>
                <span>( 成绩导入员 )</span>
            </div>
            <!-- Top Menu Items -->
            <ul class="nav navbar-right top-nav">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> <span id="user_name"></span><b class="caret"></b></a>
                    <ul class="dropdown-menu">
                        <li>
                            <a href="personal-info-scorePromoter.html"><i class="fa fa-fw fa-user"></i>个人信息</a>
                        </li>
                        <li class="divider"></li>
                        <li>
                            <a href="login.html"><i class="fa fa-fw fa-power-off"></i>退出登陆</a>
                        </li>
                    </ul>
                </li>
            </ul>
            <!-- Sidebar Menu Items - These collapse to the responsive navigation menu on small screens -->
            <div class="collapse navbar-collapse navbar-ex1-collapse">
                <ul class="nav navbar-nav side-nav">
                    <li>
                        <a href="personal-info-scorePromoter.html"><i class="fa fa-fw fa-table"></i>个人信息</a>
                    </li>
                    <li>
                        <a href="password-scorePromoter.html"><i class="fa fa-fw fa-table"></i>修改密码</a>
                    </li>
                    <li >
                    <a href="virtue-scorePromoter.html"><i class="fa fa-fw fa-table"></i>德育成绩</a>
                    </li>
                    <li >
                        <a href="import-scorePromoter.html"><i class="fa fa-fw fa-table"></i>智育成绩</a>
                    </li>           
                    <li>
                        <a href="expandQuality-scorePromoter.html"><i class="fa fa-fw fa-table"></i>拓展素质成绩</a>
                    </li>
                </ul>
            </div>
            <!-- /.navbar-collapse -->
        </nav>

        <div id="page-wrapper">

            <div class="container-fluid">

                <!-- Page Heading -->
                <div class="row">
                    <div class="col-lg-12">
                        <h1 class="page-header">
                            智育成绩信息
                        </h1>
                    </div>
                </div>
                <!-- /.row -->

                <div class="row">
                 <form role="form" id="importForm" method="post" enctype="multipart/form-data">
                        <div class="col-lg-4">

                            <div class="form-group">
                                <label>请选择要导入的文件:</label>
                                <input type="file" name="file">
                            </div>

                            <button onclick="importAchievement()"class="btn btn-default">导入</button>
                        </div>
                    </form>
                    <div class="col-lg-12"></div>
                    <div class="form-group col-lg-2">
                        <label>学院</label>
                        <select class="form-control form-colleage" onclick="listMajorByColleage()">
                        </select>
                    </div>
                    <div class="form-group col-lg-2">
                        <label>专业</label>
                        <select class="form-control form-major" onclick="listClassByMajor()">
                        </select>
                    </div>
                      <div class="form-group col-lg-2">
                        <label>班级</label>
                        <select class="form-control form-class" onclick="listTermByClass()">
                        </select>
                    </div>
                        <div class="form-group col-lg-2">
                        <label>学期</label>
                        <select class="form-control form-term" onclick="listCourseByClassAndTerm()">
                        </select>
                    </div>
                        <div class="form-group col-lg-2">
                        <label>学课</label>
                        <select class="form-control form-course" onclick="listAchievementByClassAndTermAndCourse()">
                        </select>
                    </div>
                    <div class="col-lg-12"></div>
                    <div class="col-lg-10">

                            <table class="table table-bordered table-striped" id="info-table">
                                <thead>
                                    <tr>
                                        <th class="stuID sortable"><a href="#">学号</a><i class="fa fa-sort"></i></th>
                                        <th class="stuName sortable"><a href="#">姓名</a><i class="fa fa-sort"></i></th>
                                        <th class="course sortable"><a href="#">课名</a><i class="fa fa-sort"></i></th>
                                        <th class="score sortable"><a href="#">分数</a><i class="fa fa-sort"></i></th>
                                        <th class="action"></th>
                                    </tr>
                                </thead>
                                <tbody>
                                </tbody>
                            </table>
                    </div>
                    <div class="col-lg-10">
                        <form id="achievement-form" method="post">

                            <div class="col-lg-4">
                                <div class="form-group">
                                    <label>学号</label>
                                    <input class="form-control form-stuID">
                                </div>

                                <div class="form-group">
                                    <label>课名</label>
                                    <input class="form-control form-course">
                                </div>
                            </div>

                            <div class="col-lg-4">

                                <div class="form-group">
                                    <label>姓名</label>
                                    <input class="form-control form-stuName">
                                </div>
                                <div class="form-group">
                                    <label>分数</label>
                                    <input class="form-control form-score">
                                </div>
                            </div>
                            <div class="col-lg-8">
                                <button  class="btn btn-default float-r">保存修改</button>
                            </div>

                        </form>
                    </div>
                </div>

            </div>
            <!-- /.container-fluid -->

        </div>
        <!-- /#page-wrapper -->

    </div>
    <!-- /#wrapper -->

    <!-- jQuery -->
    <script src="js/jquery.js"></script>
    <script src="js/admin.js"></script>
    <script src="js/scorePromoter.js"></script>

    <!-- Bootstrap Core JavaScript -->
    <script src="js/bootstrap.min.js"></script>

</body>

</html>
